﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// .门诊收费结算
    /// </summary>
    [Table("CheckOutOrderMZ")]
    public class CheckOutOrderMZEntity:Entity
    { 
        /// <summary>
        /// 结算状态,开始结算0  结算成功1 结算失败2
        /// </summary>
        public int jszt { get; set; }
        public string message { get; set; }
        public DateTime? CreateDateTime { get; set; }
        
        public DateTime? UpdateDateTime { get; set; }
        
        /// <summary>
        /// 门诊 patid
        /// </summary>
        public string patid { get; set; }

        /// <summary>
        /// 挂号序号
        /// </summary>
        public string ghxh { get; set; }

        /// <summary>
        /// HIS 收据号
        /// </summary>
        public string sjh { get; set; }

        /// <summary>
        /// 平台流水号
        /// </summary>
        public string ptlsh { get; set; }

        /// <summary>
        /// 划价序号合集
        /// </summary>
        public string cfxhhj { get; set; }

        /// <summary>
        /// 总金额
        /// </summary>
        public string zje { get; set; }
        /// <summary>
        /// 应付金额 
        /// </summary>
        public string yfje { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        public string zffs { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        public string zfje { get; set; }

        /// <summary>
        ///支付流水号
        /// </summary>
        public string zflsh { get; set; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public string zfsj { get; set; }

        /// <summary>
        /// 是否扣院内账户
        /// </summary>
        public string isynzh { get; set; }

        /// <summary>
        /// 是否自费结算
        /// </summary>
        public string iszfjs { get; set; }
        /// <summary>
        /// 医保交易入参
        /// </summary>
        public string ybrc { get; set; }
    }
}